'use strict';

const path = require('path');

const Logger = require('../lib/log/logger');
const LogUtil = require('../lib/util/log_util');
const Processor = require('./base_processor');

/**
 * 检验处理结果
 */
class VerifyProcessor extends Processor {
  constructor(filePath) {
    super(filePath);
    this.logger = new Logger('VerifyProcessor', LogUtil.getFileLogWriter('VerifyProcessor', path.basename(this.outputFilePath)));
  }

  /**
   * 检验步骤
   * 取出Filter_New_Remark，判断是否需要校验 > 取出Filter条件查询结果 > 取出Filter_New条件查询结果
   */
  async process() {
    this.logger.clear();
  }
}

module.exports = VerifyProcessor;
